package com.bp.ice.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class FirstContoller {
    @RequestMapping("first")
    public String first(){
        return "index_II";
    }
    @RequestMapping("second")
    public String second(){
        return "index";
    }

    @RequestMapping("about_us")
    public String about_us(){
        return "about_us";
    }
    @RequestMapping("blog_single_right.html")
    public String blog_single_right(){
        return "blog_single_right";
    }
    @RequestMapping("cart.html")
    public String cart(){
        return "cart";
    }
    @RequestMapping("checout.html")
    public String checout(){
        return "checout";
    }

    @RequestMapping("contact")
    public String contact(){
        return  "contact";
    }
    @RequestMapping("gallery.html")
    public String gallery(){
        return  "gallery";
    }
    @RequestMapping("login.html")
    public String login(){
        return  "login";
    }
    @RequestMapping("product_sidebar.html")
    public String product_sidebar(){
        return  "product_sidebar";
    }
    @RequestMapping("index.html")
    public String index(){
        return "index";
    }
    @RequestMapping("/index_II.html")
    public String index_II(){
        return "index_II";
    }


    /**
     * 假设url    user/find
     * {module}/{opar}
     * @param modleUI
     * @return
     */
    @RequestMapping("{modelUI}")
    public  String domodleUI(@PathVariable String modleUI){
        return modleUI;
    }
}
